.chatlog{
    // border: 2px solid palevioletred;
    height: 100%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    // border:10px solid red;
    margin:0;
}


.search-box{
    flex-shrink: 0;
    .ant-input{
        background: #E7F0FF;
        border-radius: 5px 5px 5px 5px;
    }
}
.search-type{
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    &-item{
        cursor: pointer;
    }

    .datase{
        position: absolute;
        z-index: 10;
        top: 111px;
        left: 66px;
        width: 100px;
        transform: translateX(-50%);
        // border: 1px solid red;
        visibility: hidden;
    }
}

.ant-calendar-picker{
    .ant-input,.ant-calendar-picker-icon{
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
    }
}
.ant-calendar-panel{
    .ant-calendar-input-wrap,.ant-calendar-range-middle{
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
    }
}

.custom-input1 input{
    border: 1px solid #E7F0FF;
}

.custom-input1 input::placeholder {
    color: #82B5FF !important;
    font-size: 12px;
}

.custom-tabs{
    width: 100%;
    margin-top: 10px;
    .ant-tabs-tab{
        min-width: 28px !important;
        max-width: 102px !important;
        text-align: center !important;
        padding: 5px 0 !important;
        margin-right: 20px !important;
        margin-left: 10px !important;
    }
}


.msgitem{
    border: 1px solid blue;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;

    &-left{
        width: 100px;
        height: 100px;
    }
}

.custom-chat-list{
    flex-grow: 1;
    // border: 2px solid blue;
    overflow-y: scroll;
    overflow-x: hidden;
    padding:0 10px;
    
    &::-webkit-scrollbar-thumb {
        background-color: rgba(255,255, 255,0); /* 滚动条滑块的颜色 */
    }
    &:hover::-webkit-scrollbar-thumb {
        background-color: #7caaF6; /* 滚动条滑块的颜色 */
    }
}

.custom-chat-item{
    color: #161616;
    display: flex;
    // border: 1px solid red;
    padding-top: 10px;
    padding-bottom: 1px;
}

.msgleft{
    // border: 1px solid blue;
    padding-right: 10px;
    flex-shrink: 0;
}

.msgright{
    // border: 1px solid blue;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    &-top{
        height: 22px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        &-right{
            color: #999999;
        }
    }
    &-bottom{
        min-height: 22px;
        line-height: 22px;
    }
}

.msg-me{
    background-color: #7caaF6;
    color: #fff;
    margin-right: 4px;
    padding: 1px 3px;
    border-radius: 3px;
    font-size: 12px;
}
.msg-you{
    background-color: #f60;
    color: #fff;
    margin-right: 4px;
    padding: 1px 3px;
    border-radius: 3px;
    font-size: 12px;
}

.card-mes {
    background-color: white;
    padding: 8px 12px;
    width: 204px;
    border: 1px solid #ececec;
    border-radius: 4px;
    cursor: pointer;
    text-Align:start;
    .top {
        // border-bottom: 1px solid #E8E8E8;
        margin-bottom: 4px;
        padding-bottom: 12px;
        text-align: start;
    }

    .name {
        font-size: 18px;
        padding-left: 8px;
        color: #000;
        display: inline-block;
        max-width: 128px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }
    .card-title{
        margin-right: 95px;
        font-size: 12px;
        color:#666666;
    }
}

.loading-spin{
    height: calc(100% - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.mes-file-wraper {
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
    // border: 1px solid lightblue;
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    // color: #2c2f36;
    color: #2a2a2e;
    .left {
        display: flex;
        flex: 1;
        flex-direction: column;
        text-align: left;
        justify-content: space-around;
        margin-right: 16px;
    }

    .right {
        display: inline-block;
        width: 40px;
        font-size: 40px;
        line-height: 60px;
    }
}

.file-btn{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-right: 16px;
}

.imgbox{
    display: flex;
    align-items: flex-end;
    gap: 7px;
    a{
        line-height: 14px;
    }
}


.current-date{
    margin-top: -15px;
    padding-bottom: 5px;
    color: #999;
    margin-left: 10px;
}
